YahnisElsts\PluginUpdateChecker\v5p0\UpdateChecker C

Total Complexity 117
Dependencies 11
Dependents 2
Total lines 993
Lines of code 443
Logical lines of code 227
Comment lines 402
Methods 45
Properties 15

Methods 45

Method Rating Maintainability Complexity Lines of code
fixSupportedWordpressVersion()
A
46 14 37
fixDirectoryName()
S
48 6 37
injectTranslationUpdates()
S
50 6 29
requestMetadata()
S
46 4 40
__construct()
S
52 5 24
validateApiResponse()
S
54 5 21
loadTextDomain()
S
59 5 13
filterApplicableTranslations()
S
57 4 17
removeHooks()
S
56 3 18
installHooks()
S
57 3 17
allowMetadataHost()
S
65 4 9
getUpdate()
S
64 4 10
injectUpdate()
S
60 3 14
getInstalledTranslations()
S
62 3 12
addNoUpdateItem()
S
63 3 11
checkForUpdates()
S
55 2 20
isBadDirectoryStructure()
S
63 3 10
maybeInitDebugBar()
S
71 3 5
isNotMyTranslation()
S
69 3 6
collectApiErrors()
S
64 3 10
removeUpdateFromList()
S
71 2 6
addUpdateToList()
S
67 2 8
getUniqueName()
S
68 2 7
isDebugModeEnabled()
S
71 2 6
triggerError()
S
73 2 5
filterUpdateResult()
S
66 2 8
isBeingUpgraded()
S
100 1 0
getTranslationUpdates()
S
81 1 3
clearCachedTranslationUpdates()
S
82 1 3
createDebugBarExtension()
S
79 1 3
getLastRequestApiErrors()
S
82 1 3
shouldShowUpdates()
S
82 1 3
getUpdateListKey()
S
100 1 0
getNoUpdateItemFields()
S
68 1 8
addFilter()
S
78 1 3
getAbsoluteDirectoryPath()
S
81 1 3
getInstalledVersion()
S
81 1 3
requestUpdate()
S
100 1 0
resetUpdateState()
S
82 1 3
getUpdateState()
S
81 1 3
createScheduler()
S
100 1 0
getInstalledPackage()
S
82 1 3
createInstalledPackage()
S
100 1 0
userCanInstallUpdates()
S
100 1 0
onDisplayConfiguration()
S
91 1 2